import VueEcharts from 'vue-echarts';
import * as echarts from 'echarts';


export const registerEcharts = (app) => {
  // 注册全局组件
  app.component('VueEcharts', VueEcharts);
  // 全局挂载
  app.config.globalProperties.$echarts = echarts;
}